package consts

const (
	/** 用户字典 */
	DICT_SY_ORG_USER = "SY_ORG_DEPT_USER_ALL"
	/** 用户缓存类型 */
	CACHE_TYPE_USER = "SY_ORG_USER_BEAN"
	/** TOKEN和userstatebean */
	CACHE_TOKEN_USERSTATE = "CACHE_TOKEN_USERSTATE"
	/** USER_CODE和userstatebean */
	CACHE_USER_USERSTATE = "CACHE_USER_USERSTATE"
	/** 用户菜单缓存类型 */
	CACHE_TYPE_USER_MENU = "SY_ORG_USER__MENU"
	/** 用户变量缓存类型 */
	CACHE_TYPE_USER_VAR      = "SY_ORG_USER__VAR"
	TBL_SY_ORG_USER_RELATION = "SY_ORG_USER_RELATION"
	TBL_SY_ORG_ROLE_USER     = "SY_ORG_ROLE_USER"
	COL_ORIGIN_USER_CODE     = "ORIGIN_USER_CODE"
	COL_RELATION_TYPE        = "RELATION_TYPE"
	COL_ROLE_CODE            = "ROLE_CODE"
	COL_USER_CODE            = "USER_CODE"

	/** 用户关系是 领导-秘书 */
	USER_RELATE_LEAD_SEC = 3

	/**
	 * 有效部门编码
	 */
	COL_TDEPT_CODE = "TDEPT_CODE"
	COL_DEPT_CODE = "DEPT_CODE"
	COL_S_FLAG = "S_FLAG"
	COL_CMPY_CODE       = "CMPY_CODE"
	COL_USER_LOGIN_NAME = "USER_LOGIN_NAME"
)

const (
	ROLE_CODES = "ROLE_CODES"
	/** 群组列表 */
	GROUP_CODES = "GROUP_CODES"
	/** 管理群组列表 */
	ADMIN_GROUP_CODES = "ADMIN_GROUP_CODES"
	/** 用户扩展信息缓存键值 */
	CACHE_USER_EXT = "_CACHE_SY_ORG_USER_EXT"
)